Xdebug Document (iii) stack trace, xdebug document Stack trace
When Xdebug is activated, PHP xdebug displays the stack trace information as soon as the notification, warning, or error is displayed. This stack of information can be configured to
PHP error mechanism Knowledge Summary, php mechanism summary. PHP error mechanism Knowledge Summary, php mechanism summary PHP error mechanism is also very complex, has been done for a few years php, has not been carefully summarized, now make up
Yesterday morning suddenly found that the test server space is full, with Du folder view, found that PHP debug log occupies a large area, some log directly have 1G, opened after the discovery of extremely many PHP stack trace.
Immediately to the
Use pear to install php extensions on windows use pear to install php extensions on windows related websites: www. php. netpear. php. netpear2.php. netpecl. php. netpear2 needs to use sqlite3 to execute the command: 1. phpD: phpphp5.3.5pyrus.
PHP's error mechanism is also very complex, did a few years of PHP, also did not carefully summed up, now to fill in this lesson.
Special Note: The PHP version of the article uses 5.5.32
Error level of PHP
First you need to know what bugs are in
Use pear to install php extensions on windows use pear to install php extensions on windows related websites: http://www.php.nethttp: // pear. php. nethttp: // pear2.php. nethttp: // pecl. php. netpear2 needs to use sqlite3 to execute the command: 1
This article mainly introduces the relevant information about the PHP error mechanism knowledge. it is also very complicated for anyone who needs to refer to the PHP error mechanism. after several years of php, I have not summarized it carefully,
Yesterday morning suddenly found that the test server space is full, with Du folder view, found that PHP debug log occupies a large area, some log directly have 1G, opened after the discovery of extremely many PHP stack trace.Immediately to the
"Record error (production environment)"Ini:① turn on/off error log functionLog_errors = On② Setting the maximum number of bytes for log_errors1024Other:
Options
Describe
Log_errors
Sets whether to log error
PHP Tutorial Configuration Chinese Narration
Let's see what you see, php.ini.
[PHP]
;;;;;;;;;;;; WARNING;;;;;;;;;;;;; This is the default settings file for new PHP installations.; By default, PHP installs itself with a configuration suitable for;
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.